﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Seemile.Model
{
    ////////////////////////////////////////////////////////////////
    /// File:        CompanyInfo
    /// Author:      LonelyShadow
    /// Description: Company实体类
    /// CreateDate:  2014/8/6
    ////////////////////////////////////////////////////////////////
    [Serializable]
    public class CompanyInfo
    {
        #region // CompanyInfo 的私有成员 [2014/8/6]
        private int _CompanyId; 	 // 公司编号
        private string _CompanyName; 	 // 公司名称
        private string _Address; 	 // 公司地址
        private string _City; 	 // 城市
        private int _ZipCode; 	 // 邮编
        private string _Product; 	 // 主营产品
        private string _Industry; 	 // 擅长行业
        private int _EmployeeCount; 	 // 员工数量
        private decimal _LastSales; 	 // 去年销售额
        private string _WebSite; 	 // 网址
        private string _CompanyPhone; 	 // 公司电话
        private string _CompanyFax; 	 // 公司传真
        private string _LicenseData; 	 // 营业执照资料
        private string _Email; 	 // 公司邮箱
        private int _UserId; 	 // 
        #endregion

        #region // CompanyInfo 的封装属性 [2014/8/6]
        /// <summary> 
        /// 公司编号
        /// </summary> 
        public int CompanyId
        {
            get { return this._CompanyId; }
            set { this._CompanyId = value; }
        }
        /// <summary> 
        /// 公司名称
        /// </summary> 
        public string CompanyName
        {
            get { return this._CompanyName; }
            set { this._CompanyName = value; }
        }
        /// <summary> 
        /// 公司地址
        /// </summary> 
        public string Address
        {
            get { return this._Address; }
            set { this._Address = value; }
        }
        /// <summary> 
        /// 城市
        /// </summary> 
        public string City
        {
            get { return this._City; }
            set { this._City = value; }
        }
        /// <summary> 
        /// 邮编
        /// </summary> 
        public int ZipCode
        {
            get { return this._ZipCode; }
            set { this._ZipCode = value; }
        }
        /// <summary> 
        /// 主营产品
        /// </summary> 
        public string Product
        {
            get { return this._Product; }
            set { this._Product = value; }
        }
        /// <summary> 
        /// 擅长行业
        /// </summary> 
        public string Industry
        {
            get { return this._Industry; }
            set { this._Industry = value; }
        }
        /// <summary> 
        /// 员工数量
        /// </summary> 
        public int EmployeeCount
        {
            get { return this._EmployeeCount; }
            set { this._EmployeeCount = value; }
        }
        /// <summary> 
        /// 去年销售额
        /// </summary> 
        public decimal LastSales
        {
            get { return this._LastSales; }
            set { this._LastSales = value; }
        }
        /// <summary> 
        /// 网址
        /// </summary> 
        public string WebSite
        {
            get { return this._WebSite; }
            set { this._WebSite = value; }
        }
        /// <summary> 
        /// 公司电话
        /// </summary> 
        public string CompanyPhone
        {
            get { return this._CompanyPhone; }
            set { this._CompanyPhone = value; }
        }
        /// <summary> 
        /// 公司传真
        /// </summary> 
        public string CompanyFax
        {
            get { return this._CompanyFax; }
            set { this._CompanyFax = value; }
        }
        /// <summary> 
        /// 营业执照资料
        /// </summary> 
        public string LicenseData
        {
            get { return this._LicenseData; }
            set { this._LicenseData = value; }
        }
        /// <summary> 
        /// 公司邮箱
        /// </summary> 
        public string Email
        {
            get { return this._Email; }
            set { this._Email = value; }
        }
        /// <summary> 
        /// 
        /// </summary> 
        public int UserId
        {
            get { return this._UserId; }
            set { this._UserId = value; }
        }

        #endregion

        #region // CompanyInfo 的构造函数 [2014/8/6]
        public CompanyInfo() { }

        public CompanyInfo(int _CompanyId, string _CompanyName, string _Address, string _City, int _ZipCode, string _Product, string _Industry, int _EmployeeCount, decimal _LastSales, string _WebSite, string _CompanyPhone, string _CompanyFax, string _LicenseData, string _Email, int _UserId)
        {
            this._CompanyId = _CompanyId;
            this._CompanyName = _CompanyName;
            this._Address = _Address;
            this._City = _City;
            this._ZipCode = _ZipCode;
            this._Product = _Product;
            this._Industry = _Industry;
            this._EmployeeCount = _EmployeeCount;
            this._LastSales = _LastSales;
            this._WebSite = _WebSite;
            this._CompanyPhone = _CompanyPhone;
            this._CompanyFax = _CompanyFax;
            this._LicenseData = _LicenseData;
            this._Email = _Email;
            this._UserId = _UserId;
        }
        #endregion
    }
}
